{#<ul class="layui-nav layui-nav-tree" lay-filter="test">#}
{#<ul class="layui-nav layui-nav-tree">#}
    {#{% for item in menu %}#}
    {#<li class="layui-nav-item">#}
            {#{% if item.link == "root" %}#}
                {#<a href="javascript:;"><span class="{{ item.pic }} c12"></span> {{ item.name }}</a>#}
                {#<dl class="layui-nav-child">#}
                {#{% for itemSon in item.sons %}#}
                    {#{% if itemSon.link == "root" %}#}
                        {#<dd>#}
                            {#<a href="javascript:;"><span class="{{ itemSon.pic }}"></span> {{ itemSon.name }}</a>#}
                            {#<dl class="layui-nav-child">#}
                                {#{% for itemSonSon in itemSon.sons %}#}
                                {#<dd><a href="{{ itemSonSon.link }}" target="mainframe">&nbsp;&nbsp;&nbsp;&nbsp;<span class="{{ itemSonSon.pic }} c12"></span> {{ itemSonSon.name }}</a></dd>#}
                                {#{% endfor %}#}
                            {#</dl>#}
                        {#</dd>#}
                    {#{% else %}#}
                        {#<dd><a href="{{ itemSon.link }}" target="mainframe"><span class="{{ itemSon.pic }} c12"></span> {{ itemSon.name }}</a></dd>#}
                    {#{% endif %}#}
                {#{% endfor %}#}
                {#</dl>#}
            {#{% else %}#}
                {#<a href="{{ item.link }}" target="mainframe"><span class="{{ item.pic }} c12"></span> {{ item.name }}</a>#}
            {#{% endif %}#}
    {#</li>#}
    {#{% endfor %}#}
{#</ul>#}
<div class="flex1 flex-r flex-end padl3">

    <div class="flex1"></div>
    {% for item in menu %}
        {#<a href="{{ item.link }}" target="mainframe">#}
        <a href="javascript:showSons({{ item.id }}) ;" target="mainframe">
            <div class="flex-r flex-center pad5 round2 marr3 bc3 c2 tac">
                <div class="{{ item.pic }} fa-2x"></div>
                <div class="marl3">{{ item.name }}</div>
            </div>
            <div class="lines bdbso bdw5 bdc1 hidden line_{{ item.id }}" id=""></div>
        </a>
    {% endfor %}
    <div class="flex1"></div>

</div>